cmake_minimum_required(VERSION 3.20)

project(find-threads)

set(CMAKE_CXX_STANDARD 11)

find_package(Threads)

add_executable(main main.cpp)

target_link_libraries(main PRIVATE Threads::Threads)